<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::LevelSetComplexShape Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_level_set_complex_shape.html">LevelSetComplexShape</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_level_set_complex_shape-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::LevelSetComplexShape Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>the final geomtrical definition of the <a class="el" href="class_s_p_h_1_1_s_p_h_body.html" title="SPHBody is a base body with basic data and functions. Its derived class can be a real fluid body,...">SPHBody</a> based on a narrow band level set function generated from the original <a class="el" href="class_s_p_h_1_1_complex_shape.html" title="gives the final geomtrical definition of the SPHBody">ComplexShape</a>  
 <a href="class_s_p_h_1_1_level_set_complex_shape.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="geometry__level__set_8h_source.html">geometry_level_set.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af8ba44a242ca851cf5358f6903b25cf6"><td class="memItemLeft" align="right" valign="top"><a id="af8ba44a242ca851cf5358f6903b25cf6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>LevelSetComplexShape</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> *sph_body, <a class="el" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a> &amp;complex_shape, <a class="el" href="classbool.html">bool</a> isCleaned=false)</td></tr>
<tr class="separator:af8ba44a242ca851cf5358f6903b25cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44eb56e0ce41c4f752fc5dffe4517b17"><td class="memItemLeft" align="right" valign="top"><a id="a44eb56e0ce41c4f752fc5dffe4517b17"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkContain</b> (Vecd &amp;input_pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true) override</td></tr>
<tr class="separator:a44eb56e0ce41c4f752fc5dffe4517b17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a300dcfecfdf6fc2180abdf6724e97a80"><td class="memItemLeft" align="right" valign="top"><a id="a300dcfecfdf6fc2180abdf6724e97a80"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNotFar</b> (Vecd &amp;input_pnt, Real threshold) override</td></tr>
<tr class="separator:a300dcfecfdf6fc2180abdf6724e97a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19fefa0f80eb6875bb7ab047b767a639"><td class="memItemLeft" align="right" valign="top"><a id="a19fefa0f80eb6875bb7ab047b767a639"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNearSurface</b> (Vecd &amp;input_pnt, Real threshold) override</td></tr>
<tr class="separator:a19fefa0f80eb6875bb7ab047b767a639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc972a88cef63fdd74e04b678b0c5c0f"><td class="memItemLeft" align="right" valign="top">virtual Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_complex_shape.html#afc972a88cef63fdd74e04b678b0c5c0f">findSignedDistance</a> (Vecd &amp;input_pnt) override</td></tr>
<tr class="separator:afc972a88cef63fdd74e04b678b0c5c0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeae1679c2c195210d7a8117e3b98fdc4"><td class="memItemLeft" align="right" valign="top">virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_complex_shape.html#aeae1679c2c195210d7a8117e3b98fdc4">findNormalDirection</a> (Vecd &amp;input_pnt) override</td></tr>
<tr class="separator:aeae1679c2c195210d7a8117e3b98fdc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7130feb0ca58b098bb4a77c6ece01396"><td class="memItemLeft" align="right" valign="top"><a id="a7130feb0ca58b098bb4a77c6ece01396"></a>
virtual Real&#160;</td><td class="memItemRight" valign="bottom"><b>computeKernelIntegral</b> (Vecd &amp;input_pnt, Real h_ratio=1.0)</td></tr>
<tr class="separator:a7130feb0ca58b098bb4a77c6ece01396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee9e14d14db01fbac37f3fc773291f67"><td class="memItemLeft" align="right" valign="top"><a id="aee9e14d14db01fbac37f3fc773291f67"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>computeKernelGradientIntegral</b> (Vecd &amp;input_pnt, Real h_ratio=1.0)</td></tr>
<tr class="separator:aee9e14d14db01fbac37f3fc773291f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_complex_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_complex_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a></td></tr>
<tr class="memitem:af9172c77de9ac21119b3d1db17cae6fe inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_complex_shape.html#af9172c77de9ac21119b3d1db17cae6fe">ComplexShape</a> ()</td></tr>
<tr class="separator:af9172c77de9ac21119b3d1db17cae6fe inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a847741b29fd49d8459bdfb44eeb23f79 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a847741b29fd49d8459bdfb44eeb23f79"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ComplexShape</b> (std::string complex_shape_name)</td></tr>
<tr class="separator:a847741b29fd49d8459bdfb44eeb23f79 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2633242a675b29b5ea1f6f623f7b0347 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a2633242a675b29b5ea1f6f623f7b0347"></a>
virtual <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> () override</td></tr>
<tr class="separator:a2633242a675b29b5ea1f6f623f7b0347 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37f5876bc47a7dfd1b1a0275b2815bab inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a37f5876bc47a7dfd1b1a0275b2815bab"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAMultiPolygon</b> (<a class="el" href="class_s_p_h_1_1_multi_polygon.html">MultiPolygon</a> &amp;multi_polygon, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a37f5876bc47a7dfd1b1a0275b2815bab inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee8d4423d729d3983010af27e477fce8 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="aee8d4423d729d3983010af27e477fce8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addABoostMultiPoly</b> (boost_multi_poly &amp;boost_multi_poly, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:aee8d4423d729d3983010af27e477fce8 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0027ea3ad4ac31c81f9640d27ff18a08 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a0027ea3ad4ac31c81f9640d27ff18a08"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAPolygon</b> (std::vector&lt; Vecd &gt; &amp;points, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a0027ea3ad4ac31c81f9640d27ff18a08 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58ffe6e7efae032a95bacc7bcea47d5b inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a58ffe6e7efae032a95bacc7bcea47d5b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addACircle</b> (Vec2d center, Real radius, <a class="el" href="classint.html">int</a> resolution, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a58ffe6e7efae032a95bacc7bcea47d5b inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf7aebd9893fcc7281abf3332eb4565a inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="acf7aebd9893fcc7281abf3332eb4565a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAPolygonFromFile</b> (std::string file_path_name, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op, Vec2d translation=Vecd(0), Real scale_factor=1.0)</td></tr>
<tr class="separator:acf7aebd9893fcc7281abf3332eb4565a inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a847741b29fd49d8459bdfb44eeb23f79 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a847741b29fd49d8459bdfb44eeb23f79"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ComplexShape</b> (std::string complex_shape_name)</td></tr>
<tr class="separator:a847741b29fd49d8459bdfb44eeb23f79 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58b1ae9cd33f4fbdb6b5479851e04bcd inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a58b1ae9cd33f4fbdb6b5479851e04bcd"></a>
virtual <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> () override</td></tr>
<tr class="separator:a58b1ae9cd33f4fbdb6b5479851e04bcd inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5b773c5416114a8b8391b9d59a4554 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="aae5b773c5416114a8b8391b9d59a4554"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addTriangleMeshShape</b> (<a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">TriangleMeshShape</a> *triangle_mesh_shape, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:aae5b773c5416114a8b8391b9d59a4554 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a779623d3b105b8f079bcc8e9a4b6ed3b inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a779623d3b105b8f079bcc8e9a4b6ed3b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addComplexShape</b> (<a class="el" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a> *complex_shape, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a779623d3b105b8f079bcc8e9a4b6ed3b inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a580836878d83fca6352c6ac6bd7a314d inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a580836878d83fca6352c6ac6bd7a314d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addBrick</b> (Vec3d halfsize, <a class="el" href="classint.html">int</a> resolution, Vec3d translation, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a580836878d83fca6352c6ac6bd7a314d inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae56329d0d4f8046e813c5af558c8b5b1 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="ae56329d0d4f8046e813c5af558c8b5b1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSphere</b> (Real radius, <a class="el" href="classint.html">int</a> resolution, Vec3d translation, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:ae56329d0d4f8046e813c5af558c8b5b1 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fab66e3ff209ebfc66cdb46eebfdc09 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a3fab66e3ff209ebfc66cdb46eebfdc09"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addCylinder</b> (SimTK::UnitVec3 axis, Real radius, Real halflength, <a class="el" href="classint.html">int</a> resolution, Vec3d translation, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a3fab66e3ff209ebfc66cdb46eebfdc09 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad540fdca8189df981a74fbe2424cb2b8 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="ad540fdca8189df981a74fbe2424cb2b8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addFormSTLFile</b> (std::string file_path_name, Vec3d translation, Real scale_factor, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:ad540fdca8189df981a74fbe2424cb2b8 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c38b048e2510aee604d894bfb770af5 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="a5c38b048e2510aee604d894bfb770af5"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkContain</b> (Vec3d &amp;input_pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true)</td></tr>
<tr class="separator:a5c38b048e2510aee604d894bfb770af5 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0f9ef6970efb7562ac9929125c80c95 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="ab0f9ef6970efb7562ac9929125c80c95"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNotFar</b> (Vec3d &amp;input_pnt, Real threshold)</td></tr>
<tr class="separator:ab0f9ef6970efb7562ac9929125c80c95 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca341dc155698269ebdf1961145a336d inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="aca341dc155698269ebdf1961145a336d"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkNearSurface</b> (Vec3d &amp;input_pnt, Real threshold)</td></tr>
<tr class="separator:aca341dc155698269ebdf1961145a336d inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19077e410946e8b216fbc6c162941006 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top">virtual Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_complex_shape.html#a19077e410946e8b216fbc6c162941006">findSignedDistance</a> (Vec3d &amp;input_pnt)</td></tr>
<tr class="separator:a19077e410946e8b216fbc6c162941006 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12092c8484f4fe5a618e92f66372d255 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top">virtual Vec3d&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_complex_shape.html#a12092c8484f4fe5a618e92f66372d255">findNormalDirection</a> (Vec3d &amp;input_pnt)</td></tr>
<tr class="separator:a12092c8484f4fe5a618e92f66372d255 inherit pub_methods_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_shape"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_shape')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_shape.html">SPH::Shape</a></td></tr>
<tr class="memitem:af0788d828fde0933f6e8493393667be9 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="af0788d828fde0933f6e8493393667be9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Shape</b> (std::string shape_name)</td></tr>
<tr class="separator:af0788d828fde0933f6e8493393667be9 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace0e6216880b5ccb462523aa821a50b3 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="ace0e6216880b5ccb462523aa821a50b3"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getName</b> ()</td></tr>
<tr class="separator:ace0e6216880b5ccb462523aa821a50b3 inherit pub_methods_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a3430c666f2322a9ee9d554ec061a8bee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_level_set.html">BaseLevelSet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_complex_shape.html#a3430c666f2322a9ee9d554ec061a8bee">level_set_</a></td></tr>
<tr class="separator:a3430c666f2322a9ee9d554ec061a8bee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_complex_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_complex_shape')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a></td></tr>
<tr class="memitem:ae315efd69b440d4633547687a6a8a78e inherit pro_attribs_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top"><a id="ae315efd69b440d4633547687a6a8a78e"></a>
<a class="el" href="class_s_p_h_1_1_multi_polygon.html">MultiPolygon</a>&#160;</td><td class="memItemRight" valign="bottom"><b>multi_ploygen_</b></td></tr>
<tr class="separator:ae315efd69b440d4633547687a6a8a78e inherit pro_attribs_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a657b6cdcf51d09ce26105192142ab72c inherit pro_attribs_class_s_p_h_1_1_complex_shape"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::pair&lt; <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">TriangleMeshShape</a> *, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_complex_shape.html#a657b6cdcf51d09ce26105192142ab72c">triangle_mesh_shapes_</a></td></tr>
<tr class="separator:a657b6cdcf51d09ce26105192142ab72c inherit pro_attribs_class_s_p_h_1_1_complex_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_shape"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_shape')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_shape.html">SPH::Shape</a></td></tr>
<tr class="memitem:a8e6dd281937b9208b4cdd221e7feaa51 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memItemLeft" align="right" valign="top"><a id="a8e6dd281937b9208b4cdd221e7feaa51"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:a8e6dd281937b9208b4cdd221e7feaa51 inherit pro_attribs_class_s_p_h_1_1_shape"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>the final geomtrical definition of the <a class="el" href="class_s_p_h_1_1_s_p_h_body.html" title="SPHBody is a base body with basic data and functions. Its derived class can be a real fluid body,...">SPHBody</a> based on a narrow band level set function generated from the original <a class="el" href="class_s_p_h_1_1_complex_shape.html" title="gives the final geomtrical definition of the SPHBody">ComplexShape</a> </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aeae1679c2c195210d7a8117e3b98fdc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeae1679c2c195210d7a8117e3b98fdc4">&#9670;&nbsp;</a></span>findNormalDirection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vecd SPH::LevelSetComplexShape::findNormalDirection </td>
          <td>(</td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>input_pnt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Normal direction point toward outside of the complex shape. </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_complex_shape.html#a291cb2caa01c16f8e4cf8ff93050a7de">SPH::ComplexShape</a>.</p>

</div>
</div>
<a id="afc972a88cef63fdd74e04b678b0c5c0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc972a88cef63fdd74e04b678b0c5c0f">&#9670;&nbsp;</a></span>findSignedDistance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::LevelSetComplexShape::findSignedDistance </td>
          <td>(</td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>input_pnt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Signed distance is negative for point within the complex shape. </p>

<p>Reimplemented from <a class="el" href="class_s_p_h_1_1_complex_shape.html#aaa17e093cba92b83aecac7d00c141777">SPH::ComplexShape</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3430c666f2322a9ee9d554ec061a8bee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3430c666f2322a9ee9d554ec061a8bee">&#9670;&nbsp;</a></span>level_set_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_level_set.html">BaseLevelSet</a>* SPH::LevelSetComplexShape::level_set_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>narrow bounded levelset mesh. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="geometry__level__set_8h_source.html">geometry_level_set.h</a></li>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="geometry__level__set_8cpp.html">geometry_level_set.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
